package com.wiz.data.vo.to;

import java.io.Serializable;

/**
 * 报文数据封装
 * @author Hakeny
 */
public class MabDataTO implements Serializable {
	private static final long serialVersionUID = 8229958693513011698L;

	/**
	 * 1-9 系统头
	 */
	private String wiz_1_dataType;// 报文类型 2字节
	private Long wiz_2_time;// 日期字段,也可以作为双日期的开始日期 8字节
	private Long wiz_3_endTime;// 时间区间的结束日期,必和域2同时使用 8字节

	/**
	 * 10-19 各实体的ID字段 类型为定长str
	 */
	private Integer wiz_10_hqId;// 总部ID 值长5
	private Integer wiz_11_stationId;// 油站ID 值长9
	private Long wiz_12_fdId;// 油枪ID 值长11
	private Long wiz_13_memberId;// 用户ID 值长14
	private String wiz_14_authorityId;// 授权ID 19字节
	private String wiz_15_stationAdminId;// 员工ID
	private String wiz_16_stationAdminVerifiId;// 验证员工ID
	private Long wiz_17_prId;// 油品ID 标准int
	private String wiz_19_fullingOrderId;// 加油订单ID 24字节
	/**
	 * 20-29 各实体名字字段 类型为变长str
	 */
	 private String wiz_20_hqName;// 总部ID 2字节
	private String wiz_21_stationName;// 油站名
//	private String wiz_22_fdName;// 油枪名
	private String wiz_23_memberName;// 会员名
	// private String wiz_24_authorityId;// 授权ID
	private String wiz_27_prName;// 油品名
	
	private String wiz_39_type;//通用type类型 1字节
	
	/**
	 * 40-49 金额字段 类型为double/int/long
	 */
	private Double wiz_40_receivableAmount;// 应收金额  8字节
	private Double wiz_41_realincomeAmount;// 实收金额  8字节
	private Double wiz_42_discountAmount;// 即时优惠金额  8字节
	private Double wiz_43_intergalAmount;// 积分抵扣金额  8字节
	private Integer wiz_44_amountPoint;// 金额兑换积分单价  4字节
	private Double wiz_45_price;// 单价  8字节
	private Double wiz_46_priceOther;// 第2单价  8字节
	private Double wiz_47_saleAmount;// 优惠单价金额  8字节
	private Double wiz_48_memberFrozenAmount;// 帐户冻结金额  8字节
	private Double wiz_49_memberBalanceAmount;// 帐户余额  8字节

	/**
	 * 50-59 备用字段 类型不定
	 */
	private String wiz_50_spareLString;// 备用变长str
	private String wiz_51_spareLString;// 备用变长str
	private String wiz_52_spareLString;// 备用变长str
	private String wiz_53_spareLString;// 备用变长str
	private String wiz_54_spareLString;// 备用变长str
	private String wiz_55_spareLString;// 备用变长str
	private String wiz_56_spareLString;// 备用变长str
	private String wiz_57_spareLString;// 备用变长str
	private String wiz_58_spareString;// 备用定长str 1字节
	private String wiz_59_spareLString;// 备用变长str

	private String wiz_60_status;// 状态值 1字节
	private String wiz_62_message;// 推送消息 length+数据
	private String wiz_63_responseCode;// 状态码 2字节
	private String wiz_64_dynakey;// 动态密钥 8字节

	public String getWiz_1_dataType() {
		return wiz_1_dataType;
	}

	public void setWiz_1_dataType(String wiz_1_dataType) {
		this.wiz_1_dataType = wiz_1_dataType;
	}

	public Long getWiz_2_time() {
		return wiz_2_time;
	}

	public void setWiz_2_time(Long wiz_2_time) {
		this.wiz_2_time = wiz_2_time;
	}

	public Long getWiz_3_endTime() {
		return wiz_3_endTime;
	}

	public void setWiz_3_endTime(Long wiz_3_endTime) {
		this.wiz_3_endTime = wiz_3_endTime;
	}

	public Integer getWiz_10_hqId() {
		return wiz_10_hqId;
	}

	public void setWiz_10_hqId(Integer wiz_10_hqId) {
		this.wiz_10_hqId = wiz_10_hqId;
	}

	public Integer getWiz_11_stationId() {
		return wiz_11_stationId;
	}

	public void setWiz_11_stationId(Integer wiz_11_stationId) {
		this.wiz_11_stationId = wiz_11_stationId;
	}

	public Long getWiz_12_fdId() {
		return wiz_12_fdId;
	}

	public void setWiz_12_fdId(Long wiz_12_fdId) {
		this.wiz_12_fdId = wiz_12_fdId;
	}

	public Long getWiz_13_memberId() {
		return wiz_13_memberId;
	}

	public void setWiz_13_memberId(Long wiz_13_memberId) {
		this.wiz_13_memberId = wiz_13_memberId;
	}

	public String getWiz_14_authorityId() {
		return wiz_14_authorityId;
	}

	public void setWiz_14_authorityId(String wiz_14_authorityId) {
		this.wiz_14_authorityId = wiz_14_authorityId;
	}

	public String getWiz_21_stationName() {
		return wiz_21_stationName;
	}

	public void setWiz_21_stationName(String wiz_21_stationName) {
		this.wiz_21_stationName = wiz_21_stationName;
	}

	public String getWiz_23_memberName() {
		return wiz_23_memberName;
	}

	public void setWiz_23_memberName(String wiz_23_memberName) {
		this.wiz_23_memberName = wiz_23_memberName;
	}

	public Double getWiz_40_receivableAmount() {
		return wiz_40_receivableAmount;
	}

	public void setWiz_40_receivableAmount(Double wiz_40_receivableAmount) {
		this.wiz_40_receivableAmount = wiz_40_receivableAmount;
	}

	public Double getWiz_41_realincomeAmount() {
		return wiz_41_realincomeAmount;
	}

	public void setWiz_41_realincomeAmount(Double wiz_41_realincomeAmount) {
		this.wiz_41_realincomeAmount = wiz_41_realincomeAmount;
	}

	public Double getWiz_42_discountAmount() {
		return wiz_42_discountAmount;
	}

	public void setWiz_42_discountAmount(Double wiz_42_discountAmount) {
		this.wiz_42_discountAmount = wiz_42_discountAmount;
	}

	public Double getWiz_43_intergalAmount() {
		return wiz_43_intergalAmount;
	}

	public void setWiz_43_intergalAmount(Double wiz_43_intergalAmount) {
		this.wiz_43_intergalAmount = wiz_43_intergalAmount;
	}

	public Double getWiz_47_saleAmount() {
		return wiz_47_saleAmount;
	}

	public void setWiz_47_saleAmount(Double wiz_47_saleAmount) {
		this.wiz_47_saleAmount = wiz_47_saleAmount;
	}

	public Double getWiz_48_memberFrozenAmount() {
		return wiz_48_memberFrozenAmount;
	}

	public void setWiz_48_memberFrozenAmount(Double wiz_48_memberFrozenAmount) {
		this.wiz_48_memberFrozenAmount = wiz_48_memberFrozenAmount;
	}

	public Double getWiz_49_memberBalanceAmount() {
		return wiz_49_memberBalanceAmount;
	}

	public void setWiz_49_memberBalanceAmount(Double wiz_49_memberBalanceAmount) {
		this.wiz_49_memberBalanceAmount = wiz_49_memberBalanceAmount;
	}

	public String getWiz_20_hqName() {
		return wiz_20_hqName;
	}

	public void setWiz_20_hqName(String wiz_20_hqName) {
		this.wiz_20_hqName = wiz_20_hqName;
	}

	public String getWiz_50_spareLString() {
		return wiz_50_spareLString;
	}

	public void setWiz_50_spareLString(String wiz_50_spareLString) {
		this.wiz_50_spareLString = wiz_50_spareLString;
	}

	public String getWiz_51_spareLString() {
		return wiz_51_spareLString;
	}

	public void setWiz_51_spareLString(String wiz_51_spareLString) {
		this.wiz_51_spareLString = wiz_51_spareLString;
	}

	public String getWiz_52_spareLString() {
		return wiz_52_spareLString;
	}

	public void setWiz_52_spareLString(String wiz_52_spareLString) {
		this.wiz_52_spareLString = wiz_52_spareLString;
	}

	public String getWiz_53_spareLString() {
		return wiz_53_spareLString;
	}

	public void setWiz_53_spareLString(String wiz_53_spareLString) {
		this.wiz_53_spareLString = wiz_53_spareLString;
	}

	public String getWiz_54_spareLString() {
		return wiz_54_spareLString;
	}

	public void setWiz_54_spareLString(String wiz_54_spareLString) {
		this.wiz_54_spareLString = wiz_54_spareLString;
	}

	public String getWiz_55_spareLString() {
		return wiz_55_spareLString;
	}

	public void setWiz_55_spareLString(String wiz_55_spareLString) {
		this.wiz_55_spareLString = wiz_55_spareLString;
	}

	public String getWiz_56_spareLString() {
		return wiz_56_spareLString;
	}

	public void setWiz_56_spareLString(String wiz_56_spareLString) {
		this.wiz_56_spareLString = wiz_56_spareLString;
	}

	public String getWiz_57_spareLString() {
		return wiz_57_spareLString;
	}

	public void setWiz_57_spareLString(String wiz_57_spareLString) {
		this.wiz_57_spareLString = wiz_57_spareLString;
	}

	public String getWiz_58_spareString() {
		return wiz_58_spareString;
	}

	public void setWiz_58_spareString(String wiz_58_spareString) {
		this.wiz_58_spareString = wiz_58_spareString;
	}

	public String getWiz_59_spareLString() {
		return wiz_59_spareLString;
	}

	public void setWiz_59_spareLString(String wiz_59_spareLString) {
		this.wiz_59_spareLString = wiz_59_spareLString;
	}

	public String getWiz_60_status() {
		return wiz_60_status;
	}

	public void setWiz_60_status(String wiz_60_status) {
		this.wiz_60_status = wiz_60_status;
	}

	public String getWiz_62_message() {
		return wiz_62_message;
	}

	public void setWiz_62_message(String wiz_62_message) {
		this.wiz_62_message = wiz_62_message;
	}

	public String getWiz_63_responseCode() {
		return wiz_63_responseCode;
	}

	public void setWiz_63_responseCode(String wiz_63_responseCode) {
		this.wiz_63_responseCode = wiz_63_responseCode;
	}

	public String getWiz_64_dynakey() {
		return wiz_64_dynakey;
	}

	public void setWiz_64_dynakey(String wiz_64_dynakey) {
		this.wiz_64_dynakey = wiz_64_dynakey;
	}
	
	public String getWiz_15_stationAdminId() {
		return wiz_15_stationAdminId;
	}

	public void setWiz_15_stationAdminId(String wiz_15_stationAdminId) {
		this.wiz_15_stationAdminId = wiz_15_stationAdminId;
	}

	public String getWiz_16_stationAdminVerifiId() {
		return wiz_16_stationAdminVerifiId;
	}

	public void setWiz_16_stationAdminVerifiId(String wiz_16_stationAdminVerifiId) {
		this.wiz_16_stationAdminVerifiId = wiz_16_stationAdminVerifiId;
	}

	public String getWiz_19_fullingOrderId() {
		return wiz_19_fullingOrderId;
	}

	public void setWiz_19_fullingOrderId(String wiz_19_fullingOrderId) {
		this.wiz_19_fullingOrderId = wiz_19_fullingOrderId;
	}
	
	public Integer getWiz_44_amountPoint() {
		return wiz_44_amountPoint;
	}

	public void setWiz_44_amountPoint(Integer wiz_44_amountPoint) {
		this.wiz_44_amountPoint = wiz_44_amountPoint;
	}
	
	public Long getWiz_17_prId() {
		return wiz_17_prId;
	}

	public void setWiz_17_prId(Long wiz_17_prId) {
		this.wiz_17_prId = wiz_17_prId;
	}

	public String getWiz_27_prName() {
		return wiz_27_prName;
	}

	public void setWiz_27_prName(String wiz_27_prName) {
		this.wiz_27_prName = wiz_27_prName;
	}

	public Double getWiz_45_price() {
		return wiz_45_price;
	}

	public void setWiz_45_price(Double wiz_45_price) {
		this.wiz_45_price = wiz_45_price;
	}

	public Double getWiz_46_priceOther() {
		return wiz_46_priceOther;
	}

	public void setWiz_46_priceOther(Double wiz_46_priceOther) {
		this.wiz_46_priceOther = wiz_46_priceOther;
	}
	
	public String getWiz_39_type() {
		return wiz_39_type;
	}

	public void setWiz_39_type(String wiz_39_type) {
		this.wiz_39_type = wiz_39_type;
	}

	/**
	 * 根据序列号获取数据
	 * 
	 * @param index
	 * @return
	 */
	public Object getValueByIndex(int index) {
		switch (index) {
		case 1:
			return wiz_1_dataType;
		case 2:
			return wiz_2_time;
		case 3:
			return wiz_3_endTime;
		case 10:
			return wiz_10_hqId;
		case 11:
			return wiz_11_stationId;
		case 12:
			return wiz_12_fdId;
		case 13:
			return wiz_13_memberId;
		case 14:
			return wiz_14_authorityId;
		case 15:
			return wiz_15_stationAdminId;
		case 16:
			return wiz_16_stationAdminVerifiId;
		case 17:
			return wiz_17_prId;
		case 19:
			return wiz_19_fullingOrderId;
		case 20:
			return wiz_20_hqName;
		case 21:
			return wiz_21_stationName;
		case 23:
			return wiz_23_memberName;
		case 27:
			return wiz_27_prName;
		case 39:
			return wiz_39_type;
		case 40:
			return wiz_40_receivableAmount;
		case 41:
			return wiz_41_realincomeAmount;
		case 42:
			return wiz_42_discountAmount;
		case 43:
			return wiz_43_intergalAmount;
		case 44:
			return wiz_44_amountPoint;
		case 45:
			return wiz_45_price;
		case 46:
			return wiz_46_priceOther;
		case 47:
			return wiz_47_saleAmount;
		case 48:
			return wiz_48_memberFrozenAmount;
		case 49:
			return wiz_49_memberBalanceAmount;
		case 50:
			return wiz_50_spareLString;
		case 51:
			return wiz_51_spareLString;
		case 52:
			return wiz_52_spareLString;
		case 53:
			return wiz_53_spareLString;
		case 54:
			return wiz_54_spareLString;
		case 55:
			return wiz_55_spareLString;
		case 56:
			return wiz_56_spareLString;
		case 57:
			return wiz_57_spareLString;
		case 58:
			return wiz_58_spareString;
		case 59:
			return wiz_59_spareLString;
		case 60:
			return wiz_60_status;
		case 62:
			return wiz_62_message;
		case 63:
			return wiz_63_responseCode;
		case 64:
			return wiz_64_dynakey;
		default:
			return null;
		}
	}

}
